package cn.tedu.coolshark.mapper;

import cn.tedu.coolshark.pojo.dto.CategoryDTO;
import cn.tedu.coolshark.pojo.entity.Category;
import cn.tedu.coolshark.pojo.entity.Product;

import java.util.List;

/**
 * @author Justin Parker
 * @author 2024/8/22 22:55
 * @version 1.0
 */
public interface CategoryMapper {

    List<Category> select();



    Boolean deleteById(Integer id);

    Boolean insert(String name);

    Boolean update(Category category);
}
